3.4.48 \(\int \sec ^2(a+b x) (c \sin (a+b x))^m \, dx\) [348]

Optimal. Leaf size=68 \[ \frac {\sqrt {\cos ^2(a+b x)} \, _2F_1\left (\frac {3}{2},\frac {1+m}{2};\frac {3+m}{2};\sin ^2(a+b x)\right ) \sec (a+b x) (c \sin (a+b x))^{1+m}}{b c (1+m)} \]

[Out]

hypergeom([3/2, 1/2+1/2*m],[3/2+1/2*m],sin(b*x+a)^2)*sec(b*x+a)*(c*sin(b*x+a))^(1+m)*(cos(b*x+a)^2)^(1/2)/b/c/
(1+m)

________________________________________________________________________________________

Rubi [A]
time = 0.03, antiderivative size = 68, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.053, Rules used = {2657} \begin {gather*} \frac {\sqrt {\cos ^2(a+b x)} \sec (a+b x) (c \sin (a+b x))^{m+1} \, _2F_1\left (\frac {3}{2},\frac {m+1}{2};\frac {m+3}{2};\sin ^2(a+b x)\right )}{b c (m+1)} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Sec[a + b*x]^2*(c*Sin[a + b*x])^m,x]

[Out]

(Sqrt[Cos[a + b*x]^2]*Hypergeometric2F1[3/2, (1 + m)/2, (3 + m)/2, Sin[a + b*x]^2]*Sec[a + b*x]*(c*Sin[a + b*x
])^(1 + m))/(b*c*(1 + m))

Rule 2657

Int[(cos[(e_.) + (f_.)*(x_)]*(b_.))^(n_)*((a_.)*sin[(e_.) + (f_.)*(x_)])^(m_), x_Symbol] :> Simp[b^(2*IntPart[
(n - 1)/2] + 1)*(b*Cos[e + f*x])^(2*FracPart[(n - 1)/2])*((a*Sin[e + f*x])^(m + 1)/(a*f*(m + 1)*(Cos[e + f*x]^
2)^FracPart[(n - 1)/2]))*Hypergeometric2F1[(1 + m)/2, (1 - n)/2, (3 + m)/2, Sin[e + f*x]^2], x] /; FreeQ[{a, b
, e, f, m, n}, x]

Rubi steps

\begin {align*} \int \sec ^2(a+b x) (c \sin (a+b x))^m \, dx &=\frac {\sqrt {\cos ^2(a+b x)} \, _2F_1\left (\frac {3}{2},\frac {1+m}{2};\frac {3+m}{2};\sin ^2(a+b x)\right ) \sec (a+b x) (c \sin (a+b x))^{1+m}}{b c (1+m)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.03, size = 63, normalized size = 0.93 \begin {gather*} \frac {\sqrt {\cos ^2(a+b x)} \, _2F_1\left (\frac {3}{2},\frac {1+m}{2};\frac {3+m}{2};\sin ^2(a+b x)\right ) (c \sin (a+b x))^m \tan (a+b x)}{b (1+m)} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[Sec[a + b*x]^2*(c*Sin[a + b*x])^m,x]

[Out]

(Sqrt[Cos[a + b*x]^2]*Hypergeometric2F1[3/2, (1 + m)/2, (3 + m)/2, Sin[a + b*x]^2]*(c*Sin[a + b*x])^m*Tan[a +
b*x])/(b*(1 + m))

________________________________________________________________________________________

Maple [F]
time = 0.04, size = 0, normalized size = 0.00 \[\int \left (\sec ^{2}\left (b x +a \right )\right ) \left (c \sin \left (b x +a \right )\right )^{m}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sec(b*x+a)^2*(c*sin(b*x+a))^m,x)

[Out]

int(sec(b*x+a)^2*(c*sin(b*x+a))^m,x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(b*x+a)^2*(c*sin(b*x+a))^m,x, algorithm="maxima")

[Out]

integrate((c*sin(b*x + a))^m*sec(b*x + a)^2, x)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(b*x+a)^2*(c*sin(b*x+a))^m,x, algorithm="fricas")

[Out]

integral((c*sin(b*x + a))^m*sec(b*x + a)^2, x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (c \sin {\left (a + b x \right )}\right )^{m} \sec ^{2}{\left (a + b x \right )}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(b*x+a)**2*(c*sin(b*x+a))**m,x)

[Out]

Integral((c*sin(a + b*x))**m*sec(a + b*x)**2, x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(b*x+a)^2*(c*sin(b*x+a))^m,x, algorithm="giac")

[Out]

integrate((c*sin(b*x + a))^m*sec(b*x + a)^2, x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (c\,\sin \left (a+b\,x\right )\right )}^m}{{\cos \left (a+b\,x\right )}^2} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c*sin(a + b*x))^m/cos(a + b*x)^2,x)

[Out]

int((c*sin(a + b*x))^m/cos(a + b*x)^2, x)

________________________________________________________________________________________